package com.cloud.ds02.controller;



import com.cloud.ds02.entity.User2Entity;
import com.cloud.ds02.mapper.User2Mapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
public class User2Service {
    @Autowired
    private User2Mapper user2Mapper;

    @RequestMapping("/getBy2UserList")
    public List<User2Entity> getBy2UserList() {
        return user2Mapper.getByUserList();
    }
}